package com.ruoyi.common.base.chat.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 会话对象 chat
 *
 * @author gdk
 * @date 2023-05-15
 */
@Data
public class ChatEditDTO {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @NotNull
    private Long id;

    /**
     * 标题
     */
    @NotBlank
    @Length(max = 10)
    private String title;
}
